package com.syeet.gulimall.order.feign;

import com.syeet.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author xhl
 * @date 2023/5/15
 */
@FeignClient(value = "gulimall-cart")
public interface CartFeignService {

    @GetMapping(value = "/currentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();
}
